#ifndef _MALLOC_H_
#define _MALLOC_H_


struct freeBlock_t {
	unsigned int size;
	struct freeBlock_t * next;
	struct freeBlock_t * prev;
};
typedef struct freeBlock_t * freeBlock_t;

struct block_t {
	unsigned int size;
	void * ptr;
};
typedef struct block_t * block_t;


void* malloc(unsigned int size);
void freeMem(void * ptr);

#endif
